import {EntityId, PageQueryParams} from "kf-web-library";

export interface JournalSpecialTopicPageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  ids?: EntityId[];
}

export interface JournalSpecialTopic{
  deleted: number; //删除标记
  id: EntityId; //主键
  name: string; //名称
  logo: string; //
  special: boolean; //
  articleTotal: number;
  createTime: string; //创建时间
  createUserId: number; //${column.comment}
  modifyTime: string; //修改时间
  modifyUserId: number; //${column.comment}
}


export interface JournalSpecialTopic_Summary{
  id: EntityId; //主键
  name: string; //名称
  logo: string; //
  special: boolean; //
  createTime: string; //创建时间
  createUserId: number; //${column.comment}
  modifyTime: string; //修改时间
  modifyUserId: number; //${column.comment}
  deleted: number; //删除标记
}

export interface JournalSpecialTopic_Create{
  name: string; //分期名称
  logo: string; //logo
  special: boolean; //
}

export interface JournalSpecialTopic_Modify extends JournalSpecialTopic_Create {
  id: EntityId;
}

export interface JournalSpecialTopic_Patch extends Partial<JournalSpecialTopic_Modify> {
  id: EntityId;
}

